<!doctype html>
<html lang="ru" data-bs-theme="dark">

<head>
    <!-- 2024-05-11 14:16:53 -->
        <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>git checkout-index</title>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.3/font/bootstrap-icons.min.css" integrity="sha512-dPXYcDub/aeb08c63jRq/k6GaKccl256JQy/AnOq7CAnEZ9FzSL9wSbcZkMp4R26vBsMLFYH4kQ67/bbV8XaCQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css" integrity="sha512-rO+olRTkcf304DQBxSWxln8JXCzTHlKnIdnMUwYvQa9/Jd4cQaNkItIUj6Z4nvW1dqK0SKXLbn9h4KwZTNtAyw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/7.1.0/css/flag-icons.min.css" integrity="sha512-bZBu2H0+FGFz/stDN/L0k8J0G8qVsAL0ht1qg5kTwtAheiXwiRKyCq1frwfbSFSJN3jooR5kauE0YjtPzhZtJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link href="../../../runebook.css" rel="stylesheet" type="text/css">
    <meta name="x-github" content="https://github.com/runebookdev/runebook">
            <meta name="x-i18n-doc" content="git">
        <script>
        function i18n(element) {
            // NOP
        }
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/3.0.5/js.cookie.js" integrity="sha512-F/dia2jKME12jwqiYDayeD+Rr/8jTWUD2wfbuJB0bzSwenSEnXsn4qQ/wVyXUCix5bmCAj8xJdtFr2OqUtjLAw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js" integrity="sha512-7Pi/otdlbbCR+LnW+F7PwFcSDJOuUJB3OxtEHbg4vSMvzvJjde4Po1v4BR9Gdc9aXNUNFVUY+SK51wWT8WF0Gg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/7.8.1/rxjs.umd.min.js" integrity="sha512-D9LDs8YUUVa4V9Gl4Zb+xqRAc7RCzooR3+zzebgK2RMu/KU+dh90pbjEEMzPiSyRSGbSp9j1pZnrO4joGa5WEg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg==" crossorigin="anonymous"></script>
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6424571640879890" crossorigin="anonymous"></script>    <script async src="https://www.googletagmanager.com/gtag/js?id=G-3G5BZ1QEDP"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
        dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'G-3G5BZ1QEDP');
</script>    <script>
(function(c, l, a, r, i, t, y) {
    c[a] = c[a] || function() {
        (c[a].q = c[a].q || []).push(arguments)
    };
    t = l.createElement(r);
    t.async = 1;
    t.src = "https://www.clarity.ms/tag/" + i + "?ref=bwt";
    y = l.getElementsByTagName(r)[0];
    y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "jto2hd94r9");
</script>    <script src="../../../theme.js"></script>
</head>

<body>
    <header class="bg-black">
        <div class="container">
            <div class="row">
                <div class="col">
                    <nav class="navbar navbar-expand-lg navbar-dark">
                        <a class="navbar-brand fw-bold" href="https://runebook.dev/ru">
                            <img alt="Runebook.dev" class="d-inline-block align-top mr-1" src="../../../assets/runebook_logo.webp" width="24" height="24">
                            Runebook.dev
                        </a>
                        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                            <span class="navbar-toggler-icon"></span>
                        </button>
                        <div class="collapse navbar-collapse" id="navbarSupportedContent">
                            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/ru#docs">Documentation</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/contributors">Contributors</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://github.com/runebookdev/runebook/issues">GitHub</a>
                                </li>
                            </ul>
                                                                                                <button class="btn btn-success ms-2" id="showPopupButton">
                                        <i class="bi bi-translate"></i>
                                        Show English
                                    </button>
                                                                                        <div class="form-check form-switch ms-3">
                                <label class="text-light">
                                    <input class="form-check-input" type="checkbox" role="switch" id="theme-switch" checked>
                                    <i class="bi bi-moon-stars-fill"></i>
                                </label>
                            </div>
                        </div>
                    </nav>
                </div>
            </div>
        </div>
    </header>

    <!--sse-->
    <div class="container">
    <div class="row">
        <div class="col">
            <nav aria-label="breadcrumb" class="mt-2">
                <ol class="breadcrumb mb-1">
                    <li class="breadcrumb-item">
                        <a href="https://runebook.dev/ru#docs">
                            <span class="fi fi-ru"></span>                            Русский                        </a>
                    </li>
                    <li class="breadcrumb-item">
                        <a href="-index-.html">
                            Git                            2.43                        </a>
                    </li>
                                            <li class="breadcrumb-item">
                            <a href="-index-.html#Plumbing_Commands">
                                Plumbing Commands                            </a>
                        </li>
                                    </ol>
            </nav>
        </div>
    </div>
    <br>

    <div class="row">
        <div class="col-md-9">
            <main>
                <article>

                    
                    <h1 class="text-body-emphasis" ><span data-i18n="e26cc1cc367d889ea74cacb76c5e0d0ca4977a63e416de798b8ab8da5bba6fc2/df" data-source="git-checkout-index" onmousemove="i18n(this)">git-checkout-index</span></h1> <h2 class="text-body-emphasis"  id="_name"><span data-i18n="dcd1d5223f73b3a965c07e3ff5dbee3eedcfedb806686a05b9b3868a2c3d6d50/3a" data-source="Name" onmousemove="i18n(this)">Name</span></h2> <div> <p><span data-i18n="8a39e1e5ac3c50ad89fe9c9b2fe8ba4660190087e22f9cac19922284ba10f421/99" data-source="git-checkout-index - Copy files from the index to the working tree" onmousemove="i18n(this)">git-checkout-index &mdash; &kcy;&ocy;&pcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &fcy;&acy;&jcy;&lcy;&ycy; &icy;&zcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy; &vcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy;</span></p> </div> <h2 class="text-body-emphasis"  id="_synopsis"><span data-i18n="8eb3755381519d7f0479d75446e56e20084834c0460d7ec94926932372ea6c47/0d" data-source="Synopsis" onmousemove="i18n(this)">Synopsis</span></h2> <div> <div> <pre class="hljs language-css">git checkout-index <span class="hljs-selector-attr">[-u]</span> <span class="hljs-selector-attr">[-q]</span> <span class="hljs-selector-attr">[-a]</span> <span class="hljs-selector-attr">[-f]</span> <span class="hljs-selector-attr">[-n]</span> <span class="hljs-selector-attr">[--prefix=&lt;string&gt;]</span>
                   <span class="hljs-selector-attr">[--stage=&lt;number&gt;|all]</span>
                   <span class="hljs-selector-attr">[--temp]</span>
                   <span class="hljs-selector-attr">[--ignore-skip-worktree-bits]</span>
                   <span class="hljs-selector-attr">[-z]</span> <span class="hljs-selector-attr">[--stdin]</span>
                   <span class="hljs-selector-attr">[--]</span> <span class="hljs-selector-attr">[&lt;file&gt;&hellip;&ZeroWidthSpace;]</span></pre> </div> </div> <h2 class="text-body-emphasis"  id="_description"><span data-i18n="526e0087cc3f254d9f86f6c7d8e23d954c4dfda2b312efc29194ae8a860106ba/d3" data-source="Description" onmousemove="i18n(this)">Description</span></h2> <div> <p><span data-i18n="b7daff5b1a085c015747944560d59de5cd7a3b5763cd71b75cb58cb7f10e3499/a8" data-source="Copies all listed files from the index to the working directory (not overwriting existing files)." onmousemove="i18n(this)">&Kcy;&ocy;&pcy;&icy;&rcy;&ucy;&iecy;&tcy; &vcy;&scy;&iecy; &pcy;&iecy;&rcy;&iecy;&chcy;&icy;&scy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &icy;&zcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy; &vcy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy; (&ncy;&iecy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&yacy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;).</span></p> </div> <h2 class="text-body-emphasis"  id="_options"><span data-i18n="d0db8b5e364b6989e4b8f38a2b3846b87d99a51c1592ebf35d21cc66405a8e39/b6" data-source="Options" onmousemove="i18n(this)">Options</span></h2> <div> <div> <dl> <dt id="Documentation/git-checkout-index.txt--u"><span data-i18n="99f14531f2599afdb9ace38c18c10740fd29ca1bdcdb7d0460fd799001d567bd/0f" data-source="-u" onmousemove="i18n(this)">-u</span></dt> <dt id="Documentation/git-checkout-index.txt---index"><span data-i18n="68a8ea7938f4e809457e7fa29310369200d3e546af36e7907fa385c0e74e831d/9c" data-source="--index" onmousemove="i18n(this)">--index</span></dt> <dd> <p><span data-i18n="f2d086c8dab03d0eab56bd77dde88f3faa7b0332368498742efd3f16f3d41ffa/bb" data-source="update stat information for the checked out entries in the index file." onmousemove="i18n(this)">&ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &ocy; &scy;&tcy;&acy;&tcy;&icy;&scy;&tcy;&icy;&kcy;&iecy; &dcy;&lcy;&yacy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&ncy;&ycy;&khcy; &zcy;&acy;&pcy;&icy;&scy;&iecy;&jcy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ncy;&ocy;&mcy; &fcy;&acy;&jcy;&lcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-checkout-index.txt--q"><span data-i18n="5ce681666a15a41274346f65b8bcbf56f8e8170ac00706a44a09ee4d786a8609/cd" data-source="-q" onmousemove="i18n(this)">-q</span></dt> <dt id="Documentation/git-checkout-index.txt---quiet"><span data-i18n="b00818cdc507640687732769ee1cb501db377927ee76d03df23978bd0d706888/e2" data-source="--quiet" onmousemove="i18n(this)">--quiet</span></dt> <dd> <p><span data-i18n="2d095f1e40ba1c0c8e71a704c746d2ae167ddbd4fd5b7d16b241c6d927601ba2/9d" data-source="be quiet if files exist or are not in the index" onmousemove="i18n(this)">&mcy;&ocy;&lcy;&chcy;&acy;&tcy;&softcy;, &iecy;&scy;&lcy;&icy; &fcy;&acy;&jcy;&lcy;&ycy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&tcy; &icy;&lcy;&icy; &icy;&khcy; &ncy;&iecy;&tcy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy;</span></p> </dd> <dt id="Documentation/git-checkout-index.txt--f"><span data-i18n="0e6503c1ece40e4ea7668463248ea2716eb37643f2c2c605f8bcee4d195a1705/83" data-source="-f" onmousemove="i18n(this)">-f</span></dt> <dt id="Documentation/git-checkout-index.txt---force"><span data-i18n="be262a109369ff4174b4b7a7aa917a83ca99dc94093be7d497384bb8c0f9cee6/ef" data-source="--force" onmousemove="i18n(this)">--force</span></dt> <dd> <p><span data-i18n="8d29c70ad67f64c9d40029b288f0681d0347e183a60d31a7848ac880d0f3ced1/8e" data-source="forces overwrite of existing files" onmousemove="i18n(this)">&pcy;&rcy;&icy;&ncy;&ucy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&icy;&scy;&acy;&tcy;&softcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;</span></p> </dd> <dt id="Documentation/git-checkout-index.txt--a"><span data-i18n="c274891790345c56cef3b53c026bdc48150948fa60c56306073d6fea7766ad6a/1a" data-source="-a" onmousemove="i18n(this)">-a</span></dt> <dt id="Documentation/git-checkout-index.txt---all"><span data-i18n="7dbf56c38208e33a9193b210245465f7729af0d59b9df556e7f1f7138a6d6e93/a1" data-source="--all" onmousemove="i18n(this)">--all</span></dt> <dd> <p><span data-i18n="afce0fde7259942e3045d79b8deb162120c88a717849b8ad7a4ecc4c31de8bd0/88" data-source="checks out all files in the index except for those with the skip-worktree bit set (see &lt;code&gt;--ignore-skip-worktree-bits&lt;/code&gt;). Cannot be used together with explicit filenames." onmousemove="i18n(this)">&pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&iecy;&tcy; &vcy;&scy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy;, &zcy;&acy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&iecy;&mcy; &tcy;&iecy;&khcy;, &ucy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy; &bcy;&icy;&tcy; &pcy;&rcy;&ocy;&pcy;&ucy;&scy;&kcy;&acy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy; (&scy;&mcy;.  <code>--ignore-skip-worktree-bits</code> ). &Ncy;&iecy;&vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &vcy;&mcy;&iecy;&scy;&tcy;&iecy; &scy; &yacy;&vcy;&ncy;&ycy;&mcy;&icy; &icy;&mcy;&iecy;&ncy;&acy;&mcy;&icy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;.</span></p> </dd> <dt id="Documentation/git-checkout-index.txt--n"><span data-i18n="5249f4fcc629efa0e6d6b2bf746b6c5de61611ce719ad61ac820fbe5c8cece66/28" data-source="-n" onmousemove="i18n(this)">-n</span></dt> <dt id="Documentation/git-checkout-index.txt---no-create"><span data-i18n="6e4610b39d7c1df96049a08490525f6c86869e034288ee6accb8145e436582e7/68" data-source="--no-create" onmousemove="i18n(this)">--no-create</span></dt> <dd> <p><span data-i18n="e6a5a6dfc3c8f2e8975c19ab160462ef79aaa9fad422ff9519099ade64401bcf/c4" data-source="Don&amp;rsquo;t checkout new files, only refresh files already checked out." onmousemove="i18n(this)">&Ncy;&iecy; &icy;&zcy;&vcy;&lcy;&iecy;&kcy;&acy;&jcy;&tcy;&iecy; &ncy;&ocy;&vcy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;, &acy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&jcy;&tcy;&iecy; &ucy;&zhcy;&iecy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&ncy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;.</span></p> </dd> <dt id="Documentation/git-checkout-index.txt---prefixltstringgt"><span data-i18n="5d87998d977d0a2ed67b12fc570d5befb0b8c56430d46e2a44f1e0a4775832f6/5a" data-source="--prefix=&amp;lt;string&amp;gt;" onmousemove="i18n(this)">--prefix=&lt;string&gt;</span></dt> <dd> <p><span data-i18n="1e32a60398087b4ee5d6b450df6011c18773c513bbe9ece7df9d947f285f31e8/3b" data-source="When creating files, prepend &amp;lt;string&amp;gt; (usually a directory including a trailing /)" onmousemove="i18n(this)">&Pcy;&rcy;&icy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&icy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &dcy;&ocy;&bcy;&acy;&vcy;&softcy;&tcy;&iecy; &lt;&scy;&tcy;&rcy;&ocy;&kcy;&ucy;&gt; (&ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;, &vcy;&kcy;&lcy;&yucy;&chcy;&acy;&yucy;&shchcy;&icy;&jcy; &vcy; &kcy;&ocy;&ncy;&tscy;&iecy; /).</span></p> </dd> <dt id="Documentation/git-checkout-index.txt---stageltnumbergtall"><span data-i18n="d47de7358fb0e59f69a6a037cbac18f0ced4ae47dd455f75aba192d1f42e6587/e6" data-source="--stage=&amp;lt;number&amp;gt;|all" onmousemove="i18n(this)">--stage=&lt;number&gt;|all</span></dt> <dd> <p><span data-i18n="b4220920ab12b69abdcd5e33799e09ca97f6e2b87e334e7b036033164aa4aa06/0f" data-source="Instead of checking out unmerged entries, copy out the files from the named stage. &amp;lt;number&amp;gt; must be between 1 and 3. Note: --stage=all automatically implies --temp." onmousemove="i18n(this)">&Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&icy;&yacy; &ncy;&iecy;&scy;&vcy;&yacy;&zcy;&acy;&ncy;&ncy;&ycy;&khcy; &zcy;&acy;&pcy;&icy;&scy;&iecy;&jcy; &scy;&kcy;&ocy;&pcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &icy;&zcy; &icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &ecy;&tcy;&acy;&pcy;&acy;. &lt;&chcy;&icy;&scy;&lcy;&ocy;&gt; &dcy;&ocy;&lcy;&zhcy;&ncy;&ocy; &bcy;&ycy;&tcy;&softcy; &ocy;&tcy; 1 &dcy;&ocy; 3. &Pcy;&rcy;&icy;&mcy;&iecy;&chcy;&acy;&ncy;&icy;&iecy;. --stage=all &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy; --temp.</span></p> </dd> <dt id="Documentation/git-checkout-index.txt---temp"><span data-i18n="06de10f882af22921d9bfa71b41384e6ba15427838c178edaeffdd0369f92d35/ae" data-source="--temp" onmousemove="i18n(this)">--temp</span></dt> <dd> <p><span data-i18n="7cf948259591310c2a0c4fc14900c436cebd7ab1febe9e419ed63d3c38b186a0/3d" data-source="Instead of copying the files to the working directory, write the content to temporary files. The temporary name associations will be written to stdout." onmousemove="i18n(this)">&Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &kcy;&ocy;&pcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &vcy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy; &zcy;&acy;&pcy;&icy;&shcy;&icy;&tcy;&iecy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&iecy; &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;. &Vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&iecy; &acy;&scy;&scy;&ocy;&tscy;&icy;&acy;&tscy;&icy;&icy; &icy;&mcy;&iecy;&ncy; &bcy;&ucy;&dcy;&ucy;&tcy; &zcy;&acy;&pcy;&icy;&scy;&acy;&ncy;&ycy; &vcy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ycy;&jcy; &vcy;&ycy;&vcy;&ocy;&dcy;.</span></p> </dd> <dt id="Documentation/git-checkout-index.txt---ignore-skip-worktree-bits"><span data-i18n="ccef600f0052473096f7dbcd41f7e624748accd9277f4b76bc32559d64994248/c3" data-source="--ignore-skip-worktree-bits" onmousemove="i18n(this)">--ignore-skip-worktree-bits</span></dt> <dd> <p><span data-i18n="25b84f4148b1b69a18bc659fa0c36b92b65e79a77b63ba7a35f56b3958058cba/10" data-source="Check out all files, including those with the skip-worktree bit set." onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&softcy;&tcy;&iecy; &vcy;&scy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;, &vcy;&kcy;&lcy;&yucy;&chcy;&acy;&yacy; &tcy;&iecy;, &ucy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy; &bcy;&icy;&tcy; Skip-worktree.</span></p> </dd> <dt id="Documentation/git-checkout-index.txt---stdin"><span data-i18n="06cc2377ccb785d93fd1515e188ca4dfe8c83def25a0c91bd36731a3b50c77f2/d9" data-source="--stdin" onmousemove="i18n(this)">--stdin</span></dt> <dd> <p><span data-i18n="16e5adf9dcbd2aca97976287c7afa8e772bd85c23658a565af2130f805faecbc/4a" data-source="Instead of taking a list of paths from the command line, read the list of paths from the standard input. Paths are separated by LF (i.e. one path per line) by default." onmousemove="i18n(this)">&Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &tcy;&ocy;&gcy;&ocy;, &chcy;&tcy;&ocy;&bcy;&ycy; &bcy;&rcy;&acy;&tcy;&softcy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &pcy;&ucy;&tcy;&iecy;&jcy; &icy;&zcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;, &pcy;&rcy;&ocy;&chcy;&icy;&tcy;&acy;&jcy;&tcy;&iecy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &pcy;&ucy;&tcy;&iecy;&jcy; &icy;&zcy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ocy;&gcy;&ocy; &vcy;&vcy;&ocy;&dcy;&acy;. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &pcy;&ucy;&tcy;&icy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; LF (&tcy;.&iecy;. &ocy;&dcy;&icy;&ncy; &pcy;&ucy;&tcy;&softcy; &vcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;).</span></p> </dd> <dt id="Documentation/git-checkout-index.txt--z"><span data-i18n="cac3c371c8f2e17e79214e0fae22255e0f1fad169bac56d2f8a10d7fd54846cb/4d" data-source="-z" onmousemove="i18n(this)">-z</span></dt> <dd> <p><span data-i18n="6b500fa22b9f12fddc8be4adc3302ddff99f9e6088df566fc01c9251dfa09c72/2b" data-source="Only meaningful with &lt;code&gt;--stdin&lt;/code&gt;; paths are separated with NUL character instead of LF." onmousemove="i18n(this)">&Icy;&mcy;&iecy;&iecy;&tcy; &scy;&mcy;&ycy;&scy;&lcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy;  <code>--stdin</code>  ; &pcy;&ucy;&tcy;&icy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&ocy;&mcy; NUL &vcy;&mcy;&iecy;&scy;&tcy;&ocy; LF.</span></p> </dd> <dt id="Documentation/git-checkout-index.txt---"><span data-i18n="d8156bae0c4243d3742fc4e9774d8aceabe0410249d720c855f98afc88ff846c/71" data-source="--" onmousemove="i18n(this)">--</span></dt> <dd> <p><span data-i18n="0ea53dd4a1fb9384edae11ed9c03b5411457806a0ae358d444eb80e48fbc0c0c/07" data-source="Do not interpret any more arguments as options." onmousemove="i18n(this)">&Ncy;&iecy; &icy;&ncy;&tcy;&iecy;&rcy;&pcy;&rcy;&iecy;&tcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&iecy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ycy; &kcy;&acy;&kcy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy;&ycy;.</span></p> </dd> </dl> </div> <p><span data-i18n="ad6f5654f37dbaf112b68da37d136beeced3189eac7663f96d1aa2e8873585d7/9a" data-source="The order of the flags used to matter, but not anymore." onmousemove="i18n(this)">&Rcy;&acy;&ncy;&softcy;&shcy;&iecy; &pcy;&ocy;&rcy;&yacy;&dcy;&ocy;&kcy; &fcy;&lcy;&acy;&gcy;&ocy;&vcy; &icy;&mcy;&iecy;&lcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;, &ncy;&ocy; &tcy;&iecy;&pcy;&iecy;&rcy;&softcy; &ecy;&tcy;&ocy; &ncy;&iecy; &tcy;&acy;&kcy;.</span></p> <p><span data-i18n="fa221644a4eecb3da4e9d524c8e187921c08a9215f95d96a1451a73233d4bc82/38" data-source="Just doing &lt;code&gt;git checkout-index&lt;/code&gt; does nothing. You probably meant &lt;code&gt;git checkout-index -a&lt;/code&gt;. And if you want to force it, you want &lt;code&gt;git checkout-index -f -a&lt;/code&gt;." onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&scy;&tcy;&ocy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&iecy;  <code>git checkout-index</code>  &ncy;&icy;&chcy;&iecy;&gcy;&ocy; &ncy;&iecy; &dcy;&acy;&iecy;&tcy;. &Vcy;&ycy;, &vcy;&iecy;&rcy;&ocy;&yacy;&tcy;&ncy;&ocy;, &icy;&mcy;&iecy;&lcy;&icy; &vcy; &vcy;&icy;&dcy;&ucy;  <code>git checkout-index -a</code> . &Acy; &iecy;&scy;&lcy;&icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &zcy;&acy;&scy;&tcy;&acy;&vcy;&icy;&tcy;&softcy; &iecy;&gcy;&ocy;, &vcy;&acy;&mcy; &ncy;&ucy;&zhcy;&iecy;&ncy;  <code>git checkout-index -f -a</code> .</span></p> <p><span data-i18n="5bb0e43a0f50c002952d10ef33fe9e07f9a6442d4be5c3e77c1ca8947db8c860/54" data-source="Intuitiveness is not the goal here. Repeatability is. The reason for the &amp;quot;no arguments means no work&amp;quot; behavior is that from scripts you are supposed to be able to do:" onmousemove="i18n(this)">&Icy;&ncy;&tcy;&ucy;&icy;&tcy;&icy;&vcy;&ncy;&ocy;&scy;&tcy;&softcy; &zcy;&dcy;&iecy;&scy;&softcy; &ncy;&iecy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &tscy;&iecy;&lcy;&softcy;&yucy;. &Pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&yacy;&iecy;&mcy;&ocy;&scy;&tcy;&softcy; &iecy;&scy;&tcy;&softcy;. &Pcy;&rcy;&icy;&chcy;&icy;&ncy;&acy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&yacy;  &quot;no arguments means no work&quot;  &zcy;&acy;&kcy;&lcy;&yucy;&chcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &tcy;&ocy;&mcy;, &chcy;&tcy;&ocy; &icy;&zcy; &scy;&tscy;&iecy;&ncy;&acy;&rcy;&icy;&iecy;&vcy; &vcy;&ycy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &icy;&mcy;&iecy;&tcy;&softcy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;&scy;&tcy;&softcy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&tcy;&softcy;:</span></p> <div> <div> <pre class="hljs language-lua">$ <span class="hljs-built_in">find</span> . -name <span class="hljs-string">&apos;*.h&apos;</span> -print0 | xargs <span class="hljs-number">-0</span> git checkout-index -f <span class="hljs-comment">--</span></pre> </div> </div> <p><span data-i18n="2c3c8e15859f03fa9e7fec6c1658dbe0480a2d114d4e133f5861524cfa4859e4/68" data-source="which will force all existing &lt;code&gt;*.h&lt;/code&gt; files to be replaced with their cached copies. If an empty command line implied &amp;quot;all&amp;quot;, then this would force-refresh everything in the index, which was not the point. But since &lt;code&gt;git checkout-index&lt;/code&gt; accepts --stdin it would be faster to use:" onmousemove="i18n(this)">&chcy;&tcy;&ocy; &pcy;&rcy;&icy;&vcy;&iecy;&dcy;&iecy;&tcy; &kcy; &zcy;&acy;&mcy;&iecy;&ncy;&iecy; &vcy;&scy;&iecy;&khcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&khcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;  <code>*.h</code>  &icy;&khcy; &kcy;&ecy;&shcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&mcy;&icy; &kcy;&ocy;&pcy;&icy;&yacy;&mcy;&icy;. &IEcy;&scy;&lcy;&icy; &bcy;&ycy; &pcy;&ucy;&scy;&tcy;&acy;&yacy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&acy;&yacy; &scy;&tcy;&rcy;&ocy;&kcy;&acy; &pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&lcy;&acy;  &quot;all&quot; , &tcy;&ocy; &ecy;&tcy;&ocy; &pcy;&rcy;&icy;&vcy;&iecy;&lcy;&ocy; &bcy;&ycy; &kcy; &pcy;&rcy;&icy;&ncy;&ucy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&mcy;&ucy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yucy; &vcy;&scy;&iecy;&gcy;&ocy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy;, &chcy;&tcy;&ocy; &ncy;&iecy; &icy;&mcy;&iecy;&lcy;&ocy; &scy;&mcy;&ycy;&scy;&lcy;&acy;. &Ncy;&ocy; &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy;  <code>git checkout-index</code>  &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&iecy;&tcy; --stdin, &bcy;&ycy;&lcy;&ocy; &bcy;&ycy; &bcy;&ycy;&scy;&tcy;&rcy;&iecy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;:</span></p> <div> <div> <pre class="hljs language-lua">$ <span class="hljs-built_in">find</span> . -name <span class="hljs-string">&apos;*.h&apos;</span> -print0 | git checkout-index -f -z <span class="hljs-comment">--stdin</span></pre> </div> </div> <p><span data-i18n="55724516394bcb5ffe2200bad797d50da10201e4e089074d9716059b1def70d9/ac" data-source="The &lt;code&gt;--&lt;/code&gt; is just a good idea when you know the rest will be filenames; it will prevent problems with a filename of, for example, &lt;code&gt;-a&lt;/code&gt;. Using &lt;code&gt;--&lt;/code&gt; is probably a good policy in scripts." onmousemove="i18n(this)"><code>--</code>  &ndash; &ecy;&tcy;&ocy; &pcy;&rcy;&ocy;&scy;&tcy;&ocy; &khcy;&ocy;&rcy;&ocy;&shcy;&acy;&yacy; &icy;&dcy;&iecy;&yacy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy; &zcy;&ncy;&acy;&iecy;&tcy;&iecy;, &chcy;&tcy;&ocy; &ocy;&scy;&tcy;&acy;&lcy;&softcy;&ncy;&ocy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&mcy;&iecy;&ncy;&acy;&mcy;&icy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;; &ecy;&tcy;&ocy; &pcy;&rcy;&iecy;&dcy;&ocy;&tcy;&vcy;&rcy;&acy;&tcy;&icy;&tcy; &pcy;&rcy;&ocy;&bcy;&lcy;&iecy;&mcy;&ycy; &scy; &icy;&mcy;&iecy;&ncy;&iecy;&mcy; &fcy;&acy;&jcy;&lcy;&acy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>-a</code>  . &Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;  <code>--</code> , &vcy;&iecy;&rcy;&ocy;&yacy;&tcy;&ncy;&ocy;, &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &khcy;&ocy;&rcy;&ocy;&shcy;&iecy;&jcy; &pcy;&ocy;&lcy;&icy;&tcy;&icy;&kcy;&ocy;&jcy; &vcy; &ZeroWidthSpace;&ZeroWidthSpace;&scy;&tscy;&iecy;&ncy;&acy;&rcy;&icy;&yacy;&khcy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_using_temp_or_stageall"><span data-i18n="4a1f1e42b6383b10562a8ff799786161ee2a3a2f0f1f458fe6222b8d7e95a385/cf" data-source="Using --temp or --stage=all" onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; --temp &icy;&lcy;&icy; --stage=all</span></h2> <div> <p><span data-i18n="683cdaa14b8037236de7dbe5bc9038162133df44f89219e3e5a00d9b3bb02064/cc" data-source="When &lt;code&gt;--temp&lt;/code&gt; is used (or implied by &lt;code&gt;--stage=all&lt;/code&gt;) &lt;code&gt;git checkout-index&lt;/code&gt; will create a temporary file for each index entry being checked out. The index will not be updated with stat information. These options can be useful if the caller needs all stages of all unmerged entries so that the unmerged files can be processed by an external merge tool." onmousemove="i18n(this)">&Kcy;&ocy;&gcy;&dcy;&acy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy;  <code>--temp</code>  (&icy;&lcy;&icy; &pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy;&scy;&yacy;  <code>--stage=all</code>  ),  <code>git checkout-index</code>  &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy; &dcy;&lcy;&yacy; &kcy;&acy;&zhcy;&dcy;&ocy;&jcy; &icy;&zcy;&vcy;&lcy;&iecy;&kcy;&acy;&iecy;&mcy;&ocy;&jcy; &zcy;&acy;&pcy;&icy;&scy;&icy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;. &Icy;&ncy;&dcy;&iecy;&kcy;&scy; &ncy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&tcy;&softcy;&scy;&yacy; &scy;&tcy;&acy;&tcy;&icy;&scy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&ocy;&jcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&iecy;&jcy;. &Ecy;&tcy;&icy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy; &mcy;&ocy;&gcy;&ucy;&tcy; &bcy;&ycy;&tcy;&softcy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ycy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy;&zcy;&ycy;&vcy;&acy;&yucy;&shchcy;&iecy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&iecy; &ncy;&ucy;&zhcy;&ncy;&ycy; &vcy;&scy;&iecy; &ecy;&tcy;&acy;&pcy;&ycy; &vcy;&scy;&iecy;&khcy; &ncy;&iecy;&scy;&lcy;&icy;&tcy;&ycy;&khcy; &zcy;&acy;&pcy;&icy;&scy;&iecy;&jcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ncy;&iecy;&scy;&vcy;&yacy;&zcy;&acy;&ncy;&ncy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &mcy;&ocy;&gcy;&lcy;&icy; &bcy;&ycy;&tcy;&softcy; &ocy;&bcy;&rcy;&acy;&bcy;&ocy;&tcy;&acy;&ncy;&ycy; &vcy;&ncy;&iecy;&shcy;&ncy;&icy;&mcy; &icy;&ncy;&scy;&tcy;&rcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ocy;&mcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;.</span></p> <p><span data-i18n="bdfdaf4e1e0da409a241455ec78ba5ab74fc9c199f7a2966dab2bd610bc2c877/48" data-source="A listing will be written to stdout providing the association of temporary file names to tracked path names. The listing format has two variations:" onmousemove="i18n(this)">&Vcy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ycy;&jcy; &vcy;&ycy;&vcy;&ocy;&dcy; &bcy;&ucy;&dcy;&iecy;&tcy; &zcy;&acy;&pcy;&icy;&scy;&acy;&ncy; &lcy;&icy;&scy;&tcy;&icy;&ncy;&gcy;, &ocy;&bcy;&iecy;&scy;&pcy;&iecy;&chcy;&icy;&vcy;&acy;&yucy;&shchcy;&icy;&jcy; &scy;&vcy;&yacy;&zcy;&softcy; &icy;&mcy;&iecy;&ncy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&khcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &scy; &icy;&mcy;&iecy;&ncy;&acy;&mcy;&icy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&khcy; &pcy;&ucy;&tcy;&iecy;&jcy;. &Fcy;&ocy;&rcy;&mcy;&acy;&tcy; &lcy;&icy;&scy;&tcy;&icy;&ncy;&gcy;&acy; &icy;&mcy;&iecy;&iecy;&tcy; &dcy;&vcy;&acy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy;&acy;:</span></p> <div> <ol> <li> <p><span data-i18n="41edb9b6951fa88a0325086335153e382966f0665cca2ff147bdcdab5e6ca78f/49" data-source="tempname TAB path RS" onmousemove="i18n(this)">&icy;&mcy;&yacy;_&vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&icy; TAB &pcy;&ucy;&tcy;&softcy; RS</span></p> <p><span data-i18n="a26eef627fbf9cbd73e8d95ed1b48a110985685cdcd56ac9e94529f1ef7058d0/a5" data-source="The first format is what gets used when &lt;code&gt;--stage&lt;/code&gt; is omitted or is not &lt;code&gt;--stage=all&lt;/code&gt;. The field tempname is the temporary file name holding the file content and path is the tracked path name in the index. Only the requested entries are output." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&vcy;&ycy;&jcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy;, &kcy;&ocy;&gcy;&dcy;&acy;  <code>--stage</code>  &ocy;&pcy;&ucy;&shchcy;&iecy;&ncy; &icy;&lcy;&icy; &ncy;&iecy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy;  <code>--stage=all</code> . &Pcy;&ocy;&lcy;&iecy; tempname &mdash; &ecy;&tcy;&ocy; &icy;&mcy;&yacy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &fcy;&acy;&jcy;&lcy;&acy;, &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&iecy;&iecy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&iecy; &fcy;&acy;&jcy;&lcy;&acy;, &acy; path &mdash; &ecy;&tcy;&ocy; &icy;&mcy;&yacy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ocy;&gcy;&ocy; &pcy;&ucy;&tcy;&icy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy;. &Vcy;&ycy;&vcy;&ocy;&dcy;&yacy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &zcy;&acy;&pcy;&rcy;&ocy;&shcy;&iecy;&ncy;&ncy;&ycy;&iecy; &zcy;&acy;&pcy;&icy;&scy;&icy;.</span></p> </li> <li> <p><span data-i18n="658c161b3e4ea1d8a830738b5f6ddec1d3c8c3ae14d5b7f17e8f642e7502696c/53" data-source="stage1temp SP stage2temp SP stage3tmp TAB path RS" onmousemove="i18n(this)">stage1temp SP stage2temp SP stage3tmp TAB &pcy;&ucy;&tcy;&softcy; RS</span></p> <p><span data-i18n="af39334f1244a441417a12ac3fd9b255178d6530554052441d4c9ac5c8f36839/40" data-source="The second format is what gets used when &lt;code&gt;--stage=all&lt;/code&gt;. The three stage temporary fields (stage1temp, stage2temp, stage3temp) list the name of the temporary file if there is a stage entry in the index or &lt;code&gt;.&lt;/code&gt; if there is no stage entry. Paths which only have a stage 0 entry will always be omitted from the output." onmousemove="i18n(this)">&Vcy;&tcy;&ocy;&rcy;&ocy;&jcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy;, &kcy;&ocy;&gcy;&dcy;&acy;  <code>--stage=all</code>  . &Vcy; &tcy;&rcy;&iecy;&khcy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&khcy; &pcy;&ocy;&lcy;&yacy;&khcy; &ecy;&tcy;&acy;&pcy;&acy; (stage1temp, stage2temp, stage3temp) &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &icy;&mcy;&yacy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &fcy;&acy;&jcy;&lcy;&acy;, &iecy;&scy;&lcy;&icy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy; &iecy;&scy;&tcy;&softcy; &zcy;&acy;&pcy;&icy;&scy;&softcy; &ecy;&tcy;&acy;&pcy;&acy;, &icy;&lcy;&icy;  <code>.</code> , &iecy;&scy;&lcy;&icy; &zcy;&acy;&pcy;&icy;&scy;&icy; &ecy;&tcy;&acy;&pcy;&acy; &ncy;&iecy;&tcy;. &Pcy;&ucy;&tcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &icy;&mcy;&iecy;&yucy;&tcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &zcy;&acy;&pcy;&icy;&scy;&softcy; &scy;&tcy;&acy;&dcy;&icy;&icy; 0, &vcy;&scy;&iecy;&gcy;&dcy;&acy; &bcy;&ucy;&dcy;&ucy;&tcy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ycy; &icy;&zcy; &vcy;&ycy;&vcy;&ocy;&dcy;&acy;.</span></p> </li> </ol> </div> <p><span data-i18n="793a1b67223b8f187d615f24e8d9dad091e191ac3bf354d2d83dbe1422c1cb9c/3d" data-source="In both formats RS (the record separator) is newline by default but will be the null byte if -z was passed on the command line. The temporary file names are always safe strings; they will never contain directory separators or whitespace characters. The path field is always relative to the current directory and the temporary file names are always relative to the top level directory." onmousemove="i18n(this)">&Vcy; &ocy;&bcy;&ocy;&icy;&khcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&acy;&khcy; RS (&rcy;&acy;&zcy;&dcy;&iecy;&lcy;&icy;&tcy;&iecy;&lcy;&softcy; &zcy;&acy;&pcy;&icy;&scy;&iecy;&jcy;) &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &pcy;&rcy;&iecy;&dcy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &scy;&ocy;&bcy;&ocy;&jcy; &ncy;&ocy;&vcy;&ucy;&yucy; &scy;&tcy;&rcy;&ocy;&kcy;&ucy;, &ncy;&ocy; &bcy;&ucy;&dcy;&iecy;&tcy; &bcy;&acy;&jcy;&tcy;&ocy;&mcy;  null , &iecy;&scy;&lcy;&icy; &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy; &bcy;&ycy;&lcy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&ncy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; -z. &Icy;&mcy;&iecy;&ncy;&acy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&khcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &vcy;&scy;&iecy;&gcy;&dcy;&acy; &pcy;&rcy;&iecy;&dcy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&yucy;&tcy; &scy;&ocy;&bcy;&ocy;&jcy; &bcy;&iecy;&zcy;&ocy;&pcy;&acy;&scy;&ncy;&ycy;&iecy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;; &ocy;&ncy;&icy; &ncy;&icy;&kcy;&ocy;&gcy;&dcy;&acy; &ncy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&tcy;&softcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&icy;&tcy;&iecy;&lcy;&icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ocy;&vcy; &icy;&lcy;&icy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&ycy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ocy;&vcy;. &Pcy;&ocy;&lcy;&iecy; &pcy;&ucy;&tcy;&icy; &vcy;&scy;&iecy;&gcy;&dcy;&acy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &ocy;&tcy;&ncy;&ocy;&scy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&gcy;&ocy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;, &acy; &icy;&mcy;&iecy;&ncy;&acy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&khcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &vcy;&scy;&iecy;&gcy;&dcy;&acy; &ocy;&tcy;&ncy;&ocy;&scy;&yacy;&tcy;&scy;&yacy; &kcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ucy; &vcy;&iecy;&rcy;&khcy;&ncy;&iecy;&gcy;&ocy; &ucy;&rcy;&ocy;&vcy;&ncy;&yacy;.</span></p> <p><span data-i18n="699e36b716f2c7981587849cde0d8c68d2472b4405260981d2a6e62caa4732b0/6e" data-source="If the object being copied out to a temporary file is a symbolic link the content of the link will be written to a normal file. It is up to the end-user or the Porcelain to make use of this information." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;, &kcy;&ocy;&pcy;&icy;&rcy;&ucy;&iecy;&mcy;&ycy;&jcy; &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy;, &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&kcy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&ocy;&jcy;, &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &bcy;&ucy;&dcy;&iecy;&tcy; &zcy;&acy;&pcy;&icy;&scy;&acy;&ncy;&ocy; &vcy; &ocy;&bcy;&ycy;&chcy;&ncy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy;. &Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &ecy;&tcy;&ocy;&jcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&icy; &zcy;&acy;&vcy;&icy;&scy;&icy;&tcy; &ocy;&tcy; &kcy;&ocy;&ncy;&iecy;&chcy;&ncy;&ocy;&gcy;&ocy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&yacy; &icy;&lcy;&icy; &kcy;&ocy;&mcy;&pcy;&acy;&ncy;&icy;&icy; Porcelain.</span></p> </div> <h2 class="text-body-emphasis"  id="_examples"><span data-i18n="e68ee04dff59551b7d1ae07a2f8a00dc61d841628948da3d2781630706a05e92/38" data-source="Examples" onmousemove="i18n(this)">Examples</span></h2> <div> <div> <dl> <dt id="Documentation/git-checkout-index.txt-Toupdateandrefreshonlythefilesalreadycheckedout"><span data-i18n="b1dc71a16ac3918bd6d362c2893361cd4fc4c0cfd5be74a709ef22a8f41081cb/e7" data-source="To update and refresh only the files already checked out" onmousemove="i18n(this)">&CHcy;&tcy;&ocy;&bcy;&ycy; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &icy; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ucy;&zhcy;&iecy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&ncy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;</span></dt> <dd> <div> <div> <pre class="hljs language-perl">$ git checkout-<span class="hljs-keyword">index</span> -n -f -a &amp;&amp; git update-<span class="hljs-keyword">index</span> --ignore-missing --refresh</pre> </div> </div> </dd> <dt id="Documentation/git-checkout-index.txt-Usingemgitcheckout-indexemtoexportanentiretree"><span data-i18n="b442662161adae10d08254a1145c5eebcadb344edc755837150bcd914b302b68/da" data-source="Using &lt;em&gt;git checkout-index&lt;/em&gt; to &amp;quot;export an entire tree&amp;quot;" onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&icy;  git  &dcy;&lcy;&yacy;  &quot;export an entire tree&quot;</span></dt> <dd> <p><span data-i18n="a80b67314dc68c1d7ec390bb331634bd2779a8da864d65e3dfc6ec2b6493bfc8/e8" data-source="The prefix ability basically makes it trivial to use &lt;code&gt;git checkout-index&lt;/code&gt; as an &amp;quot;export as tree&amp;quot; function. Just read the desired tree into the index, and do:" onmousemove="i18n(this)">&Vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;&scy;&tcy;&softcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &pcy;&rcy;&iecy;&fcy;&icy;&kcy;&scy;&acy; &ucy;&pcy;&rcy;&ocy;&shchcy;&acy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;  <code>git checkout-index</code>  &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&icy;  &quot;export as tree&quot; . &Pcy;&rcy;&ocy;&scy;&tcy;&ocy; &pcy;&rcy;&ocy;&chcy;&icy;&tcy;&acy;&jcy;&tcy;&iecy; &ncy;&ucy;&zhcy;&ncy;&ocy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &icy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;:</span></p> <div> <div> <pre class="hljs language-cpp">$ git checkout-index --prefix=git-<span class="hljs-keyword">export</span>-dir/ -a</pre> </div> </div> <p><span data-i18n="ce1789154c57bd4148eb85f31553500c5970d7b9561af21a2a25d5218a9541d0/db" data-source="&lt;code&gt;git checkout-index&lt;/code&gt; will &amp;quot;export&amp;quot; the index into the specified directory." onmousemove="i18n(this)"><code>git checkout-index</code>  &bcy;&ucy;&dcy;&iecy;&tcy;  &quot;export&quot;  &icy;&ncy;&dcy;&iecy;&kcy;&scy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;.</span></p> <p><span data-i18n="4e58abb35cdde7e88cf17522814f14f2bc1d59726dd3d6db3285e7743e7c6a08/86" data-source="The final &amp;quot;/&amp;quot; is important. The exported name is literally just prefixed with the specified string. Contrast this with the following example." onmousemove="i18n(this)">&Pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&icy;&jcy;  &quot;/&quot;  &vcy;&acy;&zhcy;&iecy;&ncy;. &Ecy;&kcy;&scy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&iecy; &icy;&mcy;&yacy; &bcy;&ucy;&kcy;&vcy;&acy;&lcy;&softcy;&ncy;&ocy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&iecy;&tcy;&scy;&yacy; &scy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;. &Scy;&rcy;&acy;&vcy;&ncy;&icy;&tcy;&iecy; &ecy;&tcy;&ocy; &scy;&ocy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&mcy; &pcy;&rcy;&icy;&mcy;&iecy;&rcy;&ocy;&mcy;.</span></p> </dd> <dt id="Documentation/git-checkout-index.txt-Exportfileswithaprefix"><span data-i18n="3ef568227a29dfb2ecfedfc2fa9e87daa7457fb4836ea7976e06288fdd7bde3f/f7" data-source="Export files with a prefix" onmousemove="i18n(this)">&Ecy;&kcy;&scy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &fcy;&acy;&jcy;&lcy;&ycy; &scy; &pcy;&rcy;&iecy;&fcy;&icy;&kcy;&scy;&ocy;&mcy;</span></dt> <dd> <div> <div> <pre class="hljs language-lua">$ git checkout-index <span class="hljs-comment">--prefix=.merged- Makefile</span></pre> </div> </div> <p><span data-i18n="bff5ad9e38ebb9255dc3948e060fcd3163e4cffac66518979ff59ed673e79995/53" data-source="This will check out the currently cached copy of &lt;code&gt;Makefile&lt;/code&gt; into the file &lt;code&gt;.merged-Makefile&lt;/code&gt;." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&icy;&tcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&ucy;&yucy; &kcy;&ecy;&shcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ucy;&yucy; &kcy;&ocy;&pcy;&icy;&yucy;  <code>Makefile</code>  &vcy; &fcy;&acy;&jcy;&lcy;  <code>.merged-Makefile</code> .</span></p> </dd> </dl> </div> </div><address>
<p>
    &copy; 2012&ndash;2024 Scott Chacon and others<br/>Licensed under the MIT License.<br/>
<a href="https://git-scm.com/docs/git-checkout-index">https://git-scm.com/docs/git-checkout-index</a>
</p>
</address>                </article>
            </main>

            <br>
            <br>
            <hr>

                               <ins class="adsbygoogle"
        style="display:block"
        data-ad-format="autorelaxed"
        data-ad-client="ca-pub-6424571640879890"
        data-ad-slot="7867651344"></ins>
   <script>
        (adsbygoogle = window.adsbygoogle || []).push({});
   </script>            
        </div>

        <!-- -->

        <div class="col-md-3">
            <br>
            <form action="-index-.html">
                <div class="input-group">
                    <input class="form-control" type="search" name="q" placeholder="Search for Git" required>
                    <button class="btn btn-primary" type="submit">
                        <i class="bi bi-search"></i>
                    </button>
                </div>
            </form>
            <br>

                            <div class="list-group list-group-flush">
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-cherry.html">
                            git cherry                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-cherry-pick.html">
                            git cherry-pick                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-citool.html">
                            git citool                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-clean.html">
                            git clean                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-clone.html">
                            git clone                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-column.html">
                            git column                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-commit.html">
                            git commit                        </a>
                                    </div>
            
            <br>
            <div class="my-3">
                <ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-6424571640879890"
     data-ad-slot="3954319254"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>            </div>
            <br>

            
            
        </div>
    </div>
</div>    <!--/sse-->

    <footer>
        <br>
        <div class="container">
            <div class="row">
                <div class="col">
                    <hr>
                    <div class="row">
                        <div class="col-md-10">
                            <ul class="nav">
                                <li class="nav-item">
                                    <a class="nav-link ps-0" href="https://runebook.dev/">Help us Improve Translation</a>
                                </li>
                                                            </ul>
                        </div>
                        <div class="col-md-2 text-end">
                            <a href="git-checkout-index.html#" class="fs-5" aria-label="Top">
                                <i class="bi bi-arrow-up-square-fill"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <br>
    </footer>
    <script src="../../../runebook.js"></script>
</body>

</html>